package cn.com.lms.business.questionnaire.persistence.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Author: 16266
 * @DateTime: 2020/3/20 15:13
 * @Description: 问卷题目选项表
 */
@Entity
@Getter
@Setter
@ToString
@Table(name = "bnz_questionnaire_sub_opt", schema = "bnzj")
public class QuestionnaireSubOpt implements Serializable {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Schema(description="主键ID")
    protected Long id;

    @Schema(description = "问卷选项：A.XXX B.XXX")
    private String questionnaireOpt;

    @Schema(description = "问卷选项分值")
    private Integer questionnaireOptScr;

    @Schema(description = "问卷题目Id")
    private Long questionnaireSubId;
}
